<?php $count = 0; ?>
<div style="background-image: url(/css/img/questions.jpg);padding-top: 50px;background-repeat: no-repeat;background-size: cover;background-position: center;height: 150px;width: 1000px;margin: auto">
    <div class="title"><h1>HỎI ĐÁP</h1></div>
</div>
<div class="content_">
    <div class="product_name"><h2>Những câu hỏi thường gặp</h2></div>
    <?php foreach($model as $obj):?>
        <?php $count++; ?>
        <div class="question_content">
            <div class="question" onclick="showAnswer(<?php echo $count ?>)"><div class="question_count"><?php echo $count ?></div><?php echo $obj->question ?></div>
            <div id="answer_<?php echo $count ?>" class="answer"><?php echo $obj->answer ?></div>
        </div>
    <?php endforeach ?>
</div>
